package microservicedemo.bookclient;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication(scanBasePackages = {"microservicedemo.bookclient.controller","microservicedemo.bookclient.Client"})
@EnableEurekaClient
@EnableFeignClients("microservicedemo.bookclient.Client")
public class BookClientApplication {

    public static void main(String[] args) {
        SpringApplication.run(BookClientApplication.class, args);
    }

}
